package com.hhit.collaborative_learning.entity;

import java.io.Serializable;
import java.util.ArrayList;

public class BlogCommentPage implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1577019470727752935L;
	public ArrayList<BlogComment> list=new ArrayList<BlogComment>();
	public int totalPage=0;
	public int currentPage=0;
	public int count=0;
	public int pageDiffer=0;
	public ArrayList<BlogComment> getList() {
		return list;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public int getCount() {
		return count;
	}
	public int getPageDiffer() {
		return currentPage%5==0?currentPage/5-1:currentPage/5;
	}
	
	
}
